# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Notification.ui'
#
# Created: Sat Dec 10 13:49:38 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Notification(object):
    def setupUi(self, Notification):
        Notification.setObjectName(_fromUtf8("Notification"))
        Notification.resize(943, 128)
        Notification.setWindowTitle(QtGui.QApplication.translate("Notification", "Notification", None, QtGui.QApplication.UnicodeUTF8))
        self.gridLayout_2 = QtGui.QGridLayout(Notification)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.nameBox = QtGui.QGroupBox(Notification)
        self.nameBox.setMaximumSize(QtCore.QSize(16777215, 26))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Comic Sans MS"))
        font.setPointSize(12)
        self.nameBox.setFont(font)
        self.nameBox.setTitle(QtGui.QApplication.translate("Notification", "Tag", None, QtGui.QApplication.UnicodeUTF8))
        self.nameBox.setFlat(True)
        self.nameBox.setCheckable(True)
        self.nameBox.setObjectName(_fromUtf8("nameBox"))
        self.gridLayout = QtGui.QGridLayout(self.nameBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.gridLayout_2.addWidget(self.nameBox, 0, 0, 1, 5)
        self.label_2 = QtGui.QLabel(Notification)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_2.setFont(font)
        self.label_2.setText(QtGui.QApplication.translate("Notification", "Start to notify in (days):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 2, 1, 1)
        self.startIn = QtGui.QLineEdit(Notification)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.startIn.sizePolicy().hasHeightForWidth())
        self.startIn.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.startIn.setFont(font)
        self.startIn.setText(QtGui.QApplication.translate("Notification", "3", None, QtGui.QApplication.UnicodeUTF8))
        self.startIn.setMaxLength(3)
        self.startIn.setObjectName(_fromUtf8("startIn"))
        self.gridLayout_2.addWidget(self.startIn, 1, 3, 1, 1)
        spacerItem = QtGui.QSpacerItem(558, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 4, 1, 1)
        self.label_3 = QtGui.QLabel(Notification)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_3.setFont(font)
        self.label_3.setText(QtGui.QApplication.translate("Notification", "Notify each (day):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 2, 2, 1, 1)
        self.notifyEach = QtGui.QLineEdit(Notification)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.notifyEach.sizePolicy().hasHeightForWidth())
        self.notifyEach.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.notifyEach.setFont(font)
        self.notifyEach.setText(QtGui.QApplication.translate("Notification", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.notifyEach.setMaxLength(3)
        self.notifyEach.setObjectName(_fromUtf8("notifyEach"))
        self.gridLayout_2.addWidget(self.notifyEach, 2, 3, 1, 1)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setContentsMargins(5, -1, 5, -1)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.groupIcon = QtGui.QToolButton(Notification)
        palette = QtGui.QPalette()
        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush)
        brush = QtGui.QBrush(QtGui.QColor(212, 208, 200, 100))
        brush.setStyle(QtCore.Qt.SolidPattern)
        palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush)
        self.groupIcon.setPalette(palette)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.groupIcon.setFont(font)
        self.groupIcon.setText(QtGui.QApplication.translate("Notification", "Icon...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupIcon.setIconSize(QtCore.QSize(64, 64))
        self.groupIcon.setObjectName(_fromUtf8("groupIcon"))
        self.gridLayout_4.addWidget(self.groupIcon, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout_4, 1, 0, 4, 1)
        self.label = QtGui.QLabel(Notification)
        self.label.setText(QtGui.QApplication.translate("Notification", "Always notify in (days):", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 3, 2, 1, 1)
        self.alwaysIn = QtGui.QLineEdit(Notification)
        self.alwaysIn.setText(QtGui.QApplication.translate("Notification", "3", None, QtGui.QApplication.UnicodeUTF8))
        self.alwaysIn.setObjectName(_fromUtf8("alwaysIn"))
        self.gridLayout_2.addWidget(self.alwaysIn, 3, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 2, 1, 1)

        self.retranslateUi(Notification)
        QtCore.QObject.connect(self.nameBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), Notification.dataUpdated)
        QtCore.QObject.connect(self.startIn, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), Notification.dataUpdated)
        QtCore.QObject.connect(self.notifyEach, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), Notification.dataUpdated)
        QtCore.QObject.connect(self.groupIcon, QtCore.SIGNAL(_fromUtf8("clicked()")), Notification.browseGroupIcon)
        QtCore.QObject.connect(self.alwaysIn, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), Notification.dataUpdated)
        QtCore.QObject.connect(self.nameBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.startIn.setEnabled)
        QtCore.QObject.connect(self.nameBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.notifyEach.setEnabled)
        QtCore.QObject.connect(self.nameBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.alwaysIn.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Notification)

    def retranslateUi(self, Notification):
        pass

from . import resources_rc
